home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_exim.idb / usr / freeware / lib / exim / configure.z / configure
Encoding:
Text File  |  1999-01-26  |  12.0 KB  |  329 lines

  1. ######################################################################
  2. #                  Runtime configuration file for Exim               #
  3. ######################################################################
  4.  
  5.  
  6. # This is a default configuration file which will operate correctly in
  7. # uncomplicated installations. Please see the manual for a complete list
  8. # of all the runtime configuration options that can be included in a
  9. # configuration file.
  10.  
  11.  
  12. # This file is divided into several parts, all but the last of which are
  13. # terminated by a line containing the word "end". The parts must appear
  14. # in the correct order, and all must be present (even if some of them are
  15. # in fact empty). Blank lines, and lines starting with # are ignored.
  16.  
  17.  
  18.  
  19. ######################################################################
  20. #                    MAIN CONFIGURATION SETTINGS                     #
  21. ######################################################################
  22.  
  23. # Specify your host's canonical name here. This should normally be the fully
  24. # qualified "official" name of your host. If this option is not set, the
  25. # uname() function is called to obtain the name.
  26.  
  27. # primary_hostname =
  28.  
  29.  
  30. # Specify the domain you want to be added to all unqualified addresses
  31. # here. An unqualified address is one that does not contain an "@" character
  32. # followed by a domain. For example, "caesar@rome.ex" is a fully qualified
  33. # address, but the string "caesar" (i.e. just a login name) is an unqualified
  34. # email address. Unqualified addresses are accepted only from local callers by
  35. # default. See the receiver_unqualified_{hosts,nets} options if you want
  36. # to permit unqualified addresses from remote sources. If this option is
  37. # not set, the primary_hostname value is used for qualification.
  38.  
  39. # qualify_domain =
  40.  
  41.  
  42. # If you want unqualified recipient addresses to be qualified with a different
  43. # domain to unqualified sender addresses, specify the recipient domain here.
  44. # If this option is not set, the qualify_domain value is used.
  45.  
  46. # qualify_recipient =
  47.  
  48.  
  49. # Specify your local domains as a colon-separated list here. If this option
  50. # is not set (i.e. not mentioned in the configuration file), the
  51. # qualify_recipient value is used as the only local domain. If you do not want
  52. # to do any local deliveries, uncomment the following line, but do not supply
  53. # any data for it. This sets local_domains to an empty string, which is not
  54. # the same as not mentioning it at all. An empty string specifies that there
  55. # are no local domains; not setting it at all causes the default value (the
  56. # setting of qualify_recipient) to be used.
  57.  
  58. # local_domains =
  59.  
  60.  
  61. # If you want to accept mail addressed to your host's literal IP address, for
  62. # example, mail addressed to "user@[111.111.111.111]", then uncomment the
  63. # following line, or supply the literal domain(s) as part of "local_domains"
  64. # above.
  65.  
  66. # local_domains_include_host_literals
  67.  
  68.  
  69. # No local deliveries will ever be run under the uids of these users (a colon-
  70. # separated list). An attempt to do so gets changed so that it runs under the
  71. # uid of "nobody" instead. This is a paranoic safety catch. Note the default
  72. # setting means you cannot deliver mail addressed to root as if it were a
  73. # normal user. This isn't usually a problem, as most sites have an alias for
  74. # root that redirects such mail to a human administrator.
  75.  
  76. never_users = root
  77.  
  78.  
  79. # The setting below causes Exim to do a reverse DNS lookup on all incoming
  80. # IP calls, in order to get the true host name. If you feel this is too
  81. # expensive, you can specify the networks for which a lookup is done, or
  82. # remove the setting entirely.
  83.  
  84. host_lookup_nets = 0.0.0.0/0
  85.  
  86.  
  87. # Exim contains support for the Realtime Blocking List (RBL) that is being
  88. # maintained as part of the DNS. See http://maps.vix.com/rbl/ for background.
  89. # Uncommenting the following line will make Exim reject mail from any
  90. # host whose IP address is blacklisted in the RBL at maps.vix.com.
  91.  
  92. # rbl_domains = rbl.maps.vix.com
  93.  
  94.  
  95. # The setting below locks out the use of your host as a mail relay by any
  96. # other host. If you want to permit relaying through your host from certain
  97. # hosts or IP networks, you need to vary this option and/or make use of the
  98. # other three options in the set sender_{host,net}_{accept,reject}_relay.
  99. # See the section of the manual entitled "Control of relaying" for more info.
  100. # Removing this setting altogether is not recommended, because there are many
  101. # unscrupulous people out there who will make use of open relays to try to
  102. # disguise the source of unsolicited bulk mail.
  103.  
  104. sender_host_reject_relay = *
  105.  
  106.  
  107. # If you want Exim to support the "percent hack" for all your local domains,
  108. # uncomment the following line. This is the feature by which mail addressed
  109. # to x%y@z (where z is one of your local domains) is locally rerouted to
  110. # x@y and sent on. Otherwise x%y is treated as an ordinary local part.
  111.  
  112. # percent_hack_domains=*
  113.  
  114.  
  115. end
  116.  
  117.  
  118.  
  119. ######################################################################
  120. #                      TRANSPORTS CONFIGURATION                      #
  121. ######################################################################
  122. #                       ORDER DOES NOT MATTER                        #
  123. #     Only one appropriate transport is called for each delivery.    #
  124. ######################################################################
  125.  
  126. # A transport is used only when referenced from a director or a router that
  127. # successfully handles an address.
  128.  
  129.  
  130. # This transport is used for delivering messages over SMTP connections.
  131.  
  132. remote_smtp:
  133.   driver = smtp
  134.  
  135.  
  136. # This transport is used for local delivery to user mailboxes. By default
  137. # it will be run under the uid and gid of the local user, and requires
  138. # the sticky bit to be set on the /var/mail directory. Some systems use
  139. # the alternative approach of running mail deliveries under a particular
  140. # group instead of using the sticky bit. The commented options below show
  141. # how this can be done.
  142.  
  143. local_delivery:
  144.   driver = appendfile
  145.   file = /var/mail/${local_part}
  146.   delivery_date_add
  147.   envelope_to_add
  148.   return_path_add
  149. # group = mail
  150. # mode = 0660
  151.  
  152.  
  153. # This transport is used for handling pipe addresses generated by alias
  154. # or .forward files. It has a conventional name, since it is not actually
  155. # mentioned elsewhere in this configuration file. (A different name *can*
  156. # be specified via the "address_pipe_transport" option if you really want
  157. # to.) If the pipe generates any standard output, it is returned to the sender
  158. # of the message as a delivery error. Set return_fail_output instead if you
  159. # want this to happen only when the pipe fails to complete normally.
  160.  
  161. address_pipe:
  162.   driver = pipe
  163.   return_output
  164.  
  165.  
  166. # This transport is used for handling file addresses generated by alias
  167. # or .forward files. It has a conventional name, since it is not actually
  168. # mentioned elsewhere in this configuration file.
  169.  
  170. address_file:
  171.   driver = appendfile
  172.   delivery_date_add
  173.   envelope_to_add
  174.   return_path_add
  175.  
  176.  
  177. # This transport is used for handling file addresses generated by alias
  178. # or .forward files if the path ends in "/", which causes it to be treated
  179. # as a directory name rather than a file name. Each message is then delivered
  180. # to a unique file in the directory. If instead you want all such deliveries to
  181. # be in the "maildir" format that is used by some other mail software,
  182. # uncomment the final option below. If this is done, the directory specified
  183. # in the .forward or alias file is the base maildir directory.
  184. #
  185. # Should you want to be able to specify either maildir or non-maildir
  186. # directory-style deliveries, then you must set up yet another transport,
  187. # called address_directory2. This is used if the path ends in "//" so should
  188. # be the one used for maildir, as the double slash suggests another level
  189. # of directory. In the absence of address_directory2, paths ending in //
  190. # are passed to address_directory.
  191.  
  192. address_directory:
  193.   driver = appendfile
  194.   delivery_date_add
  195.   envelope_to_add
  196.   return_path_add
  197.   no_from_hack
  198.   prefix = ""
  199.   suffix = ""
  200. # maildir_format
  201.  
  202.  
  203. # This transport is used for handling autoreplies generated by the filtering
  204. # option of the forwardfile director. It has a conventional name, since it
  205. # is not actually mentioned elsewhere in this configuration file.
  206.  
  207. address_reply:
  208.   driver = autoreply
  209.  
  210.  
  211. end
  212.  
  213.  
  214.  
  215. ######################################################################
  216. #                      DIRECTORS CONFIGURATION                       #
  217. #             Specifies how local addresses are handled              #
  218. ######################################################################
  219. #                          ORDER DOES MATTER                         #
  220. #   A local address is passed to each in turn until it is accepted.  #
  221. ######################################################################
  222.  
  223. # Local addresses are those with a domain that matches some item in the
  224. # "local_domains" setting above, or those which are passed back from the
  225. # routers because of a "self=local" setting (not used in this configuration).
  226.  
  227.  
  228. # This director handles aliasing using a traditional /etc/aliases file.
  229. # If any of your aliases expand to pipes or files, you will need to set
  230. # up a user and a group for these deliveries to run under. You can do
  231. # this by uncommenting the "user" option below (changing the user name
  232. # as appropriate) and adding a "group" option if necessary.
  233.  
  234. system_aliases:
  235.   driver = aliasfile
  236.   file = /etc/aliases
  237.   search_type = lsearch
  238. # user = exim
  239.  
  240.  
  241. # This director handles forwarding using traditional .forward files.
  242. # If you want it also to allow mail filtering when a forward file
  243. # starts with the string "# Exim filter", uncomment the "filter" option.
  244. # The check_ancestor option means that if the forward file generates an
  245. # address that is an ancestor of the current one, the current one gets
  246. # passed on instead. This covers the case where A is aliased to B and B
  247. # has a .forward file pointing to A.
  248.  
  249. userforward:
  250.   driver = forwardfile
  251.   file = .forward
  252.   no_verify
  253.   check_ancestor
  254. # filter
  255.  
  256.  
  257. # This director matches local user mailboxes.
  258.  
  259. localuser:
  260.   driver = localuser
  261.   transport = local_delivery
  262.  
  263.  
  264. end
  265.  
  266.  
  267.  
  268. ######################################################################
  269. #                      ROUTERS CONFIGURATION                         #
  270. #            Specifies how remote addresses are handled              #
  271. ######################################################################
  272. #                          ORDER DOES MATTER                         #
  273. #  A remote address is passed to each in turn until it is accepted.  #
  274. ######################################################################
  275.  
  276. # Remote addresses are those with a domain that does not match any item
  277. # in the "local_domains" setting above.
  278.  
  279.  
  280. # This router routes to remote hosts over SMTP using a DNS lookup with
  281. # default options.
  282.  
  283. lookuphost:
  284.   driver = lookuphost
  285.   transport = remote_smtp
  286.  
  287.  
  288. # This router routes to remote hosts over SMTP by explicit IP address,
  289. # given as a "domain literal" in the form [nnn.nnn.nnn.nnn]. The RFCs
  290. # require this facility, which is why it is enabled by default in Exim.
  291. # If you want to lock it out, set forbid_domain_literals in the main
  292. # configuration section above.
  293.  
  294. literal:
  295.   driver = ipliteral
  296.   transport = remote_smtp
  297.  
  298.  
  299. end
  300.  
  301.  
  302.  
  303. ######################################################################
  304. #                      RETRY CONFIGURATION                           #
  305. ######################################################################
  306.  
  307. # This single retry rule applies to all domains and all errors. It specifies
  308. # retries every 15 minutes for 2 hours, then increasing retry intervals,
  309. # starting at 2 hours and increasing each time by a factor of 1.5, up to 16
  310. # hours, then retries every 8 hours until 4 days have passed since the first
  311. # failed delivery.
  312.  
  313. # Domain               Error       Retries
  314. # ------               -----       -------
  315.  
  316. *                      *           F,2h,15m; G,16h,2h,1.5; F,4d,8h
  317.  
  318. end
  319.  
  320.  
  321.  
  322. ######################################################################
  323. #                      REWRITE CONFIGURATION                         #
  324. ######################################################################
  325.  
  326. # There are no rewriting specifications in this default configuration file.
  327.  
  328. # End of Exim configuration file
  329.